﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Projeto3D
{
    class Fundo : Objeto2D
    {
        public Fundo(Texture2D texture)
            : base(texture)
        {
            this.posicao = new Vector2(texture.Width/2 - 150, texture.Height/2 - 220);
            this.vetorEscala = new Vector2(2.5f,2.5f);
        }

        public void update(Vector2 speed)
        {
            this.posicao += speed;
        }
    }
}
